#ifndef _TOOL_IREQUESTDISPATCHER_H_
#define _TOOL_IREQUESTDISPATCHER_H_

#ifndef API

#include "net/net.h"
#include "pack/pack.h"

#endif

namespace tool {

class IRequestClient;

class IRequestDispatcher {
	public:
		virtual void OnRequest(pack::Request& request) = 0;

		virtual void AddRequestClient(IRequestClient* client) = 0;
		virtual void RemoveRequestClient(IRequestClient* client) = 0;
};
	
}

#endif
